<!-- 企业管理-金融机构待办 -->
<template>
  <div>
    <a-tabs v-model="tab">
      <a-tab-pane :key="1" tab="认证待办"></a-tab-pane>
      <a-tab-pane :key="2" tab="变更待办"></a-tab-pane>
      <a-tab-pane :key="3" tab="认证已办"></a-tab-pane>
      <a-tab-pane :key="4" tab="变更已办"></a-tab-pane>
    </a-tabs>
    <div v-if="tab===1">
      <ToCertification></ToCertification>
    </div>
    <div v-if="tab===2">
      <ToChange></ToChange>
    </div>
    <div v-if="tab===3">
      <Certification></Certification>
    </div>
    <div v-if="tab===4">
      <Change></Change>
    </div>
  </div>
</template>
<script>
import ToCertification from './ToCertification.vue'
import ToChange from './ToChange.vue'
import Certification from './Certification.vue'
import Change from './Change.vue'
export default {
   components: {
    ToCertification, ToChange, Certification, Change
  },
  data () {
    return {
      tab: 1
    }
  },
  methods: {
    search () {
      this.$refs.page.search()
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
